export const rules = {
  logo: [
    {
      required: true,
      message: '请上传平台logo',
      trigger: 'blur'
    }
  ],
  platform: [
    {
      required: true,
      message: '请选择平台',
      trigger: 'blur'
    }
  ],
  mainBusiness: [
    {
      required: true,
      message: '请输入主营业务',
      trigger: 'blur'
    }
  ],
  characteristic: [
    {
      required: true,
      message: '请选择平台性质',
      trigger: 'blur'
    }
  ],
  pointFirst: [
    {
      required: true,
      message: '请选择平台积分',
      trigger: 'blur'
    }
  ],
  exchangeRate: [
    {
      required: true,
      message: '请选择平台积分',
      trigger: 'blur'
    }
  ],
  touchName: [
    {
      required: true,
      message: '请输入联系人名称',
      trigger: 'blur'
    }
  ],
  touchMobile: [
    {
      required: true,
      message: '请输入联系电话',
      trigger: 'blur'
    }
  ],

  detailAddress: [
    {
      required: true,
      message: '请输入详细地址',
      trigger: ['blur', 'change']
    }
  ]
}

// 平台列表 2: 好物特工, 4: 酒馆长, 8: 挖咖, 16: 机咖, 32: 秦宗, 64: 机甲通
export const platformList = [
  {
    value: 16,
    label: '机咖平台'
  },
  {
    value: 8,
    label: '挖咖平台'
  },
  {
    value: 4,
    label: '酒馆长平台'
  },
  {
    value: 32,
    label: '秦宗平台'
  },
  {
    value: 64,
    label: '机甲通平台'
  }
]
